//package com.LachesismStorm.lachesism.controller;
//
//import com.LachesismStorm.lachesism.core.common.response.ResponseResult;
//import com.LachesismStorm.lachesism.service.PubService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.*;
//import org.springframework.web.multipart.MultipartFile;
//
//import javax.annotation.Resource;
//import java.util.Map;
//
///**
// * @Author: lachesism
// * @Date: 2022/11/07/17:28
// * @Description:
// */
//@Api(tags = "公共模块管理")
//@RestController
//@RequestMapping("/pub")
//public class PubController {
//    @Resource
//    private PubService pubService;
//
//    @PostMapping("/uploadImage")
//    public ResponseResult uploadImage(@RequestParam("file") MultipartFile file)throws Exception {
//        Map<String, String> imgMap = pubService.uploadImage(file);
//        return ResponseResult.success(imgMap,null);
//    }
//}
